.gri_contrast {
  float: left;
  margin: 4px 8px 0 8px;
  line-height: 20px;
  color: #666;
  cursor: pointer;
  font: 12px/1.5 Tahoma, Helvetica, "SimSun", sans-serif;
}

.gri_date {
  padding: 0 26px 0 6px;
  width: 195px;
  height: 20px;
  line-height: 20px;
  border: 1px solid #d6d6d6;
  background: #fff url("/res/images/icon_date.png") no-repeat 100% 50%;
  cursor: pointer;
  color: #666;
}

.gri_date_month {
  width: 180px;
}

.gri_dateRangeCalendar {
  position: absolute;
  display: none;
  background: #fff;
  border: 1px solid #6fb1df;
  padding: 10px;
  -moz-box-shadow: 0px 1px 3px #6fb1df;
  font: 12px/1.5 Tahoma, Helvetica, "SimSun", sans-serif;
}

.gri_dateRangeCalendar a {
  color: #369;
}

.gri_dateRangePicker {
  float: left;
  border: 0;
  margin: 0;
  padding: 0;
}

.gri_dateRangeOptions {
  float: left;
}

.gri_dateRangeOptions input.gri_dateRangeInput {
  width: 80px;
  text-align: center;
  border: 1px solid #ddd;
}

.gri_dateRangeOptions div.gri_dateRangeInput {
  margin-bottom: 5px;
}

.gri_dateRangePreMonth {
  float: left;
  width: 15px;
  height: 17px;
  background: url("/res/images/daterange/page.png") no-repeat 0 0;
  overflow: hidden;
}

.gri_dateRangeNextMonth {
  float: right;
  width: 15px;
  height: 17px;
  background: url("/res/images/daterange/page.png") no-repeat -15px 0;
  overflow: hidden;
}

.gri_dateRangePreMonth span, .gri_dateRangeNextMonth span {
  display: none;
}

.gri_dateRangeDateTable {
  margin: 0 10px 0 0px;
  padding: 0px;
  float: left;
  empty-cells: show;
  border-collapse: collapse;
  display: inline;
  font-size: 12px;
}

.gri_dateRangeDateTable td {
  border: 1px solid #eee;
  text-align: right;
  cursor: pointer;
  padding: 1px 2px;
}

.gri_dateRangeDateTable th {
  border-top: 1px solid #dee6f6;
  border-left: 1px solid #dee6f6;
  background: #e0e8f7;
  font-weight: 400;
  border-left: 1px solid #ddd;
}

.gri_dateRangeDateTable td.gri_dateRangeGray {
  color: #bbb;
  cursor: default;
}

.gri_dateRangeDateTable td.gri_dateRangeToday {
  color: #f90;
  font-weight: bold;
}

.gri_dateRangeSelected {
  background-color: #007cd9;
  color: #fff;
}

.gri_dateRangeCompare {
  background-color: #b9e078;
  color: #fff;
}

.gri_dateRangeCoincide {
  background-color: #ffffc4;
}

.gri_pn {
  background: url("/res/images/daterange/pn.png") repeat-x scroll 0 -48px #e5e5e5;
  color: #fff;
}

.gri_pnc {
  background: url("/res/images/daterange/pn.png") repeat-x scroll 0 0 #e5e5e5;
}

.gri_co {
  border: 1px solid #999;
  box-shadow: 0 1px 0 #e5e5e5;
  cursor: pointer;
  font-family: Tahoma, "Microsoft Yahei", "Simsun";
  font-size: 12px;
  height: 21px;
  overflow: hidden;
  vertical-align: middle;
}

.ta_date {
  border: 1px solid #d8d8d8;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: #fefefe;
  background-image: -ms-linear-gradient(top, #fafafa, #f5f5f5);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fafafa), to(#f5f5f5));
  background-image: -moz-linear-gradient(top, #fafafa, #f5f5f5);
  background-image: -o-linear-gradient(top, #fafafa, #f5f5f5);
  background-image: linear-gradient(top, #fafafa, #f5f5f5);
  background-repeat: repeat-x;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: 0px 1px 1px rgba(218, 218, 218, 0.8);
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

.ta_date .date_title {
  font-family: Arial;
  font-size: 14px;
  color: #666;
  padding: 6px 10px;
  *padding: 0px 10px;
  vertical-align: middle;
  cursor: pointer;
  *zoom: 1;
}

.ta_date:hover {
  background-image: none;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

.ta_date .to {
  padding: 0 5px;
}

.ta_date .opt_sel {
  width: 30px;
  height: 28px;
  line-height: 28px;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  margin-left: -4px;
}

.ta_date .i_orderd {
  display: inline-block;
  width: 0;
  height: 0;
  vertical-align: top;
  border-top: 5px solid #727272;
  border-right: 5px dashed transparent;
  border-left: 5px dashed transparent;
  font-size: 0;
  content: "";
  overflow: hidden;
  margin-top: 10px;
}

.ta_calendar2 {
  *width: 536px;
}

.ta_calendar1 {
  *width: 268px;
}

.ta_calendar {
  border: 1px solid #e1e1e1;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  font-size: 12px;
  text-align: left;
  position: absolute;
  z-index: 100;
}

.i_pre, .i_next, .ta_calendar td.ta_dateRangeSelected, .ta_calendar td.first, .ta_calendar td.last, .ta_calendar td.today {
  background: url("/res/images/daterange/calendar_all.png") no-repeat;
  cursor: pointer;
}

.i_pre, .i_next {
  width: 23px;
  height: 23px;
  display: inline-block;
}

.i_pre {
  background-position: 0 0;
}

.i_pre:hover {
  background-position: -46px 0px;
}

.i_next {
  background-position: -23px 0;
}

.i_next:hover {
  background-position: -69px 0px;
}

.ta_calendar td.ta_dateRangeSelected {
  background-position: -164px 2px;
  color: #fff;
}

.ta_calendar td.ta_dateRangeGray {
  color: #bbb;
  cursor: default;
}

.ta_calendar td.first {
  color: #ffb2a8;
  background-position: -128px 2px;
}

.ta_calendar td.last {
  color: #ffb2a8;
  background-position: -200px 2px;
}

.ta_calendar td.today {
  color: #fff;
  background-position: -93px 2px;
}

.ta_calendar .dis {
  color: #9e9e9e;
}

.ta_calendar table {
  font-size: 12px;
  float: left;
  margin: 0 8px;
  _display: inline;
  border-spacing: 0 7px;
  border-collapse: collapse;
}

.ta_calendar table caption {
  text-align: center;
  height: 35px;
  line-height: 35px;
  font-size: 14px;
}

.ta_calendar table thead tr {
  border: 1px solid #e1e1e1;
  background: #f7f8fa;
  -webkit-box-shadow: inset 0px 1px 0 #fff;
  -moz-box-shadow: inset 0px 1px 0 #fff;
  box-shadow: inset 0px 1px 0 #fff;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
}

.ta_calendar table thead th {
  line-height: 20px;
  padding: 4px 10px;
  color: #444;
  cursor: pointer;
  text-align: left;
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
}

.ta_calendar table.calendar-month {
  font-size: 12px;
  float: left;
  margin: 0 8px;
  _display: inline;
  border-spacing: 7px;
  border-collapse: separate;
  margin-bottom: 10px;
}

.calendar-month caption {
  border-bottom: 1px solid #e1e1e1;
  *padding-bottom: 0px;
}

.calendar-month tbody td {
  line-height: 30px;
  padding: 4px 11px;
  text-align: center;
  white-space: nowrap;
  font-family: "΢���ź�";
  cursor: pointer;
}

.calendar-month td.hover, .calendar-month td:hover, .calendar-month caption span:hover {
  color: #6590c1;
  border: 1px solid #6590c1;
  padding: 3px 10px;
  border-radius: 2px;
  cursor: pointer;
}

.calendar .dis:hover {
  color: #9e9e9e;
  border: 1px solid #d3d5d6;
  padding: 3px 10px;
}

.calendar-month td.current {
  background: #6590c1;
  color: #fff;
  border-radius: 2px;
}

.ta_calendar .select {
  position: relative;
  padding: 3px 10px;
  width: 30px;
  height: 20px;
  border: 1px solid #c2c7cc;
  border-radius: 2px;
  line-height: 20px;
  cursor: pointer;
  *zoom: 1;
  background: #fafbfc;
  background: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#f5f5f8));
  background: -moz-linear-gradient(top, #fff, #f5f5f8);
  background: -ms-linear-gradient(top, #fff, #f5f5f8);
  background: -o-linear-gradient(top, #fff, #f5f5f8);
  background: linear-gradient(top, #fff, #f5f5f8);
}

.ta_calendar .select:hover {
  border-color: #6590c1;
  background: #eff1f3;
  background: -webkit-gradient(linear, 0 0, 0 100%, from(#f7f7fa), to(#e8eaee));
  background: -moz-linear-gradient(top, #f7f7fa, #e8eaee);
  background: -ms-linear-gradient(top, #f7f7fa, #e8eaee);
  background: -o-linear-gradient(top, #f7f7fa, #e8eaee);
  background: linear-gradient(top, #f7f7fa, #e8eaee);
}

.ta_calendar .select:active {
  border-color: #c2c7cc;
  background: #f0f1f4;
  box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.05);
}

.ta_calendar .dropdown {
  position: absolute;
  width: 150px;
  background: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 100;
}

.ta_calendar .dropdown .list_menu {
  padding: 3px 0;
  max-height: 240px;
  overflow: auto;
}

.ta_calendar .dropdown .list_menu li {
  *line-height: 20px;
}

.ta_calendar .dropdown .list_menu li a {
  display: block;
  line-height: 20px;
  color: #383d49;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.ta_calendar .dropdown .list_menu li a:hover {
  background: #f4f5f8;
  color: #383d49;
  text-decoration: none;
}

.ta_calendar .select_wrap {
  position: relative;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  vertical-align: middle;
  font-size: 12px;
}

.ta_calendar .select_wrap .dropdown {
  display: none;
  left: -1px;
  top: 100%;
  width: 100%;
  border-radius: 2px;
}

.ta_calendar .select_wrap.open {
  *z-index: 100;
}

.ta_calendar .select_wrap.open .dropdown {
  display: block;
}

.ta_calendar table thead th.sun {
  border-left: 1px solid #e1e1e1;
}

.ta_calendar table thead th.sat {
  border-right: 1px solid #e1e1e1;
}

.ta_calendar table tbody td {
  line-height: 20px;
  padding: 4px 11px;
  text-align: center;
  white-space: nowrap;
  font-family: "Tahoma";
}

.ta_calendar_cont {
  position: relative;
}

.ta_calendar_cont .i_pre, .ta_calendar_cont .i_next {
  position: absolute;
  top: 7px;
}

.ta_calendar_cont .i_pre {
  left: 10px;
}

.ta_calendar_cont .i_next {
  right: 10px;
}

.ta_calendar_footer {
  border-top: 1px solid #e5e5e5;
  background: #fafafa;
  padding-top: 5px;
}

.ta_calendar_footer .frm_btn {
  padding-right: 10px;
  text-align: center;
  padding: 20px;
}

.ta_calendar_footer .frm_btn input {
  margin-left: 3px;
}

.ta_calendar_footer .frm_msg {
  float: left;
  padding-left: 10px;
  vertical-align: middle;
  display: none
}

.ta_calendar_footer .ipt_text_s {
  padding: 4px 4px;
}

.ta_ipt_text, .ta_ipt_textarea, .ta_ipt_text_s {
  border: 1px solid #ccc;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
  color: #555;
  font-size: 12px;
  height: 16px;
  line-height: 16px;
  padding: 6px 4px;
  position: relative;
  transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
  vertical-align: middle;
  width: 180px;
  z-index: 2;
}

.ta_ipt_text_s {
  width: 80px;
}

.ta_btn {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  background-color: #f5f5f5;
  background-image: -moz-linear-gradient(center top, #fefefe, #f5f5f5);
  background-repeat: repeat-x;
  border-color: #cacaca #cacaca #b3b3b3;
  border-image: none;
  border-radius: 2px 2px 2px 2px;
  border-style: solid;
  border-width: 1px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  color: #333;
  cursor: pointer;
  display: inline-block;
  font-size: 12px;
  margin-bottom: 0;
  outline: 0 none;
  text-align: center;
  width: 80px;
  height: 30px;
  line-height: 30px;
}

.ta_btn:hover {
  text-decoration: none;
  transition: background-position 0.1s linear 0s;
}

.ta_btn:focus {
  outline: thin dotted #333;
  outline-offset: -2px;
}

.ta_btn.active, .ta_btn:active {
  background-image: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
  outline: 0 none;
}

.ta_btn.disabled, .ta_btn[disabled] {
  background-image: none;
  box-shadow: none;
  cursor: default;
  opacity: 0.65;
}

.ta_btn {
  margin: 2px 5px 0 0;
  vertical-align: top;
}

.ta_btn:hover {
  background-position: 0 -16px;
}

.ta_btn_primary {
  background: #ff6753;
  color: #fff;
}

.cf:after {
  clear: both;
}

.cf:before, .cf:after {
  content: "";
  display: table;
}

.cf:before, .cf:after {
  content: "";
  display: table;
}

.m-peroid-dbox {
  padding-left: 5px;
}

.m-peroid-dbox .peroid {
  margin-right: 5px;
  width: 50px;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  text-align: center;
  padding: 3px 0px;
  cursor: pointer;
}

.m-peroid-dbox .z-active {
  background: #999;
  color: #fff;
}

.dateRangeDateTable {
  td {
    line-height: 20px;
    padding: 4px 11px;
    text-align: center;
    white-space: nowrap;
  }
}
